import axios from "axios";

const getAwardPoint = (id: number)=>{
    return new Promise((resolve, reject) => {
        axios.get("/api/reward-points/getRewardPointsById",{
            params:{
                crowdId:id
            }
        }).then((response)=>{
            resolve(response);
        })
    })
}

export default getAwardPoint;